package com.zryc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Hello world!
 *
 */
//注册为spring boot应用程序
@SpringBootApplication
//开启mapper扫描，并指定Mapper接口所在的包
@MapperScan("com.zryc.shop.mapper")
public class CommonApp
{
    public static void main( String[] args )
    {
        SpringApplication.run(CommonApp.class,args);
    }
}
